﻿@model S4Store.Models.Exports.IndexModel
@{
    ViewBag.Title = "Index";
    Layout = null;
    S4Store.Domain.Administrator CurrentUser = (S4Store.Domain.Administrator)ViewBag.CurrentUser;
}

<style type="text/css">
#exportitemwarp li{ list-style:none;}
#exportitemwarp a{ text-decoration:none;}
#exportitemwarp img{ border:none;}
#exportitemwarp .box{ position:relative; width:197px; height:282px;}
#exportitemwarp .pbg{ display:block; position:absolute; top:0; left:0; z-index:0; background: url(@Url.Content("~/Resources/project/v3/pbg.png")) no-repeat; width:197px; height:282px;_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageloader(src="@Url.Content("~/Resources/project/v3/pbg.png")",sizingMethod="images"); }
#exportitemwarp .pbox{ position:absolute; top:2px; left:2px; width:193px; height:278px; z-index:2;}
#exportitemwarp .pti{ font-family:微软雅黑; font-size:18px; color:#0153a8; text-shadow:1px 1px 1px #ffffff; text-align:center; height:20px; line-height:20px; padding:15px 0;}
#exportitemwarp .pti img{ vertical-align:middle; margin-right:5px;}
#exportitemwarp .pn{ margin:0; padding:0;}
#exportitemwarp .pn li{font-family:微软雅黑;margin:0; padding:0; text-align:center; border-bottom:1px dashed #ffffff;}
#exportitemwarp .pn li a{ color:#636363; display:block; border-bottom:1px dashed #c2d2db; height:32px; line-height:32px;}
#exportitemwarp .pn li a img{ vertical-align:middle; display:none;}
#exportitemwarp .pn li a:hover{ color:#ff6000; zoom:1;}
#exportitemwarp .pn li a:hover img{ vertical-align:middle; display:inline-block;}
#exportitemwarp .dbox{ width:680px; height:200px; position:relative;}
#exportitemwarp .dbg{display:block; position:absolute; top:0; left:0; z-index:1; background: url(@Url.Content("~/Resources/project/v3/sjbg.png")) no-repeat; width:395px; height:186px;_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageloader(src="@Url.Content("~/Resources/project/v3/sjbg.png")",sizingMethod="images"); }
#exportitemwarp .dico{display:block; position:absolute; top:0; right:0; z-index:0; background: url(@Url.Content("~/Resources/project/v3/ico.png")) no-repeat; width:302px; height:163px;_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageloader(src="@Url.Content("~/Resources/project/v3/ico.png")",sizingMethod="images"); }
#exportitemwarp .dcont{ position:absolute; top:10px; left:10px; z-index:10; width:330px;}
#exportitemwarp .pti2{ font-family:微软雅黑; font-size:14px; color:#0153a8; text-shadow:1px 1px 1px #ffffff;height:20px; line-height:20px; padding:15px 0;}
#exportitemwarp .pti2 img{ vertical-align:middle; margin-right:5px;}
#exportitemwarp .pn2{ margin:0; padding:0;}
#exportitemwarp .pn2 li{font-family:微软雅黑;margin:0; padding:0;}
#exportitemwarp .pn2 li a{ color:#636363; display:block; height:32px; line-height:32px; background: url(@Url.Content("~/Resources/project/v3/arr.gif")) no-repeat left; padding-left:12px; }
#exportitemwarp .pn2 li a:hover{background: url(@Url.Content("~/Resources/project/v3/aR.gif")) no-repeat left; color:#ff6000;}
</style>
<div style="height:100%; overflow:auto;background: url(/Resources/project/ohbg.jpg)">
@Html.Action("ReportBar", "Common", Model.BarModel)
    <div style="position:relative; width:100%" id="exportitemwarp" class="pbg">
        <p style="height: 40px;"></p>
                @if (CurrentUser.Position == S4Store.Domain.Position.SystemManager)
        {
        <table border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td valign="top" style="padding:0 12px;">
                    <div class="box">
                        <span class="pbg"></span>
                        <div class="pbox">
                            <div class="pti"><img src="@Url.Content("~/Resources/project/v3/pi1.gif")" width="23" height="20" />销售数据导出</div>
                            <ul class="pn">
                                <li><a href="@Url.Action("CarKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;车型销售KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("SellerKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;展厅销售KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("TelSellerKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;电话销售KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("TelSaleKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;电话销售车型KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                            </ul>
                        </div>
                    </div>
                </td>
                <td valign="top" style="padding:0 12px;" >
                    <div class="box">
                        <span class="pbg"></span>
                        <div class="pbox">
                            <div class="pti"><img src="@Url.Content("~/Resources/project/v3/pi2.gif")" width="23" height="20" />营销数据导出</div>
                            <ul class="pn">
                                <li><a href="@Url.Action("Exhibition", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;展厅活动KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("NetMarketingKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;网电营销KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                            </ul>
                        </div>
                    </div>
                </td>
                <td valign="top" style="padding:0 12px;">
                    <div class="box">
                        <span class="pbg"></span>
                        <div class="pbox">
                            <div class="pti"><img src="@Url.Content("~/Resources/project/v3/pi3.gif")" width="18" height="20" />财务数据导出</div>
                            <ul class="pn">
                                <li><a href="@Url.Action("FinancialKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;财务数据报表&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                            </ul>
                        </div>
                    </div>
                </td>
                <td valign="top" style="padding:0 12px;">
                    <div class="box">
                        <span class="pbg"></span>
                        <div class="pbox">
                            <div class="pti"><img src="@Url.Content("~/Resources/project/v3/pi4.gif")" width="25" height="20" />售后数据导出</div>
                            <ul class="pn">
                                <li><a href="@Url.Action("AfterSaleCarKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;售后业绩车型KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("DecoCarKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;装潢车型KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("SAKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;服务顾问KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("WMKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;车间主管KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("CSKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;客户专员KPI&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                                <li><a href="@Url.Action("SPKpi", new { StoreId = Model.StoreId, Month = Model.BarModel.Month.ToString("yyyy-MM-dd") })"><img src="@Url.Content("~/Resources/project/v3/aR.gif")" />&nbsp;零部件管理&nbsp;<img src="@Url.Content("~/Resources/project/v3/aL.gif")" /></a></li>
                            </ul>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
        
        }
    </div>
</div>
<script type="text/javascript">
    $(function () {
        //去除当月
        $("select[name=Month]").find("option:first").remove();
    });
</script>

